/* 首页样式 */
.main{
    width: 980px;
    height: 455px;
    /* 这里用外边距，用内边距不行 */
    margin-left: 220px;
    margin-top: 10px;
}
/* 焦点图模块 */
.focus{
    float: left;
    width: 721px;
    height: 455px;
    background: url('../upload/focus1.png');

}
/* 快报模块 */
.newsflash{
    float: right;
    width: 250px;
    height: 455px;
    /* border: 1px solid #ccc;
    border-bottom: none; */
}
/* 给news添加边框 */
.news{
    height: 165px;
    border: 1px solid #e4e4e4;
}
.news_hd{
    height: 33px;
    line-height: 33px;
    padding: 0 15px;
    border-bottom: 1px dotted #ccc;
}
.news_hd h5{
    float: left;
    font-size: 14px;
}
.news_hd .more{
    float: right;
}
.news_hd .more::after{
    font-family: 'icomoon';
    content: '\e920';
}
.news_bd{
    padding: 5px 15px 0;
}
.news_bd ul li{
    height: 24px;
    line-height: 24px;
    /* 超出部分用省略号表示 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* lifeservice生活服务 */
.lifeservice{
    /* 隐藏最右边的li多出的边框 */
    overflow: hidden;
    height: 209px;
    border: 1px solid #e4e4e4;
    border-top: 0;
}
.lifeservice ul{
    width: 252px;
}
.lifeservice ul li{
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}
.lifeservice ul li i{
    display: inline-block;
    width: 24px;
    height: 28px;
    margin-top: 12px;
    /* 精灵图 */
    /* background: url("../images/icons.png") no-repeat -19px -14px; */
}
.lifeservice ul li:nth-child(1) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(2) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}
.lifeservice ul li:nth-child(3) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(4) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}
.lifeservice ul li:nth-child(5) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(6) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}
.lifeservice ul li:nth-child(7) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(8) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}
.lifeservice ul li:nth-child(9) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(10) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}
.lifeservice ul li:nth-child(11) i{
    background: url("../images/icons.png") no-repeat -19px -14px;

}
.lifeservice ul li:nth-child(12) i{
    background: url("../images/icons.png") no-repeat -81px -14px;

}

/* bargain模块 */
.bargain{
    margin-top: 5px;
}


/* 推荐模块 */
.recom{
    height: 162px;
    margin-top: 12px;
    /* 图片覆盖不全，换背景色 */
    background-color:#ebebeb;
}
.recom_hd{
    float: left;
    width: 205px;
    height: 162px;
    background-color: #5c5251;
    text-align: center;
    padding-top: 32px;

}
.recom_bd{
    float: left;
}
.recom_bd ul li{
    position: relative;
    float: left;
}
/* 竖线绝对定位，用伪元素来做,且只选出前面三个添加*/
.recom_bd ul li:nth-child(-n+3)::after{
    position: absolute;
    top: 8px;
    /* 注意left默认在li的左边，一定要加 */
    left: 0;
    content: "";
    height: 145px;
    width: 1px;
    background-color: #ddd;
}

/* 楼层区模块制作 */
.floor{
}
/*版心的外上边距 */
.w {
    margin-top: 30px;
}
/* 家电模块 */
/* .jiadian{
    
} */
/* 手机通讯模块 */
/* .shouji{

} */
/* 以下是手机和家电通用的样式 */
.box_hd{
    height: 30px;
    border-bottom: 2px solid #c81623;
}
.box_hd h3{
    float: left;
    font-size: 18px;
    color: #c81623;
    font-weight: 400;
}
.box_hd .tab_list{
    float: right;
    line-height: 30px;
}
.box_hd .tab_list ul li {
    float: left;
     
}
.box_hd .tab_list ul li a{
    padding: 0 15px;
}
.box_bd{
    height: 361px;
}
/* 要用子代选择器>否则会无效 */
.tab_list_item>div{
    float: left;
    height: 361px;
}
.col_210{
    width: 210px;
    background-color: #f9f9f9;
    /* 文字居中 */
    text-align: center;
}
.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    text-align: center;
    line-height: 33px;
    border-bottom: 1px solid #ccc;
    /* li盒子往外挤 */
    margin-right: 10px;
    margin-bottom: 25px;
}
.col_210 ul{
    /* ul盒子往里挤 */
    padding-left: 12px;
}

.col_329{
    width: 329px;
}
.col_219{
    width: 219px;
    /* 宽度为219的盒子加个右边框 */

}
.col_221{
    width: 221px;
    border-right: 1px solid #ccc;
}
/* 让a调用该类 */
.bb{
    /* 一般情况下，a如果包含有宽度的盒子，a需要转为块级元素 */
    display: block;
    border-bottom: 1px solid #ccc;
}
